package com.example.hospitaldemo.service.impl;

import com.example.hospitaldemo.entity.Ward;
import com.example.hospitaldemo.mapper.WardMapper;
import com.example.hospitaldemo.service.IWardService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 科室表 服务实现类
 * </p>
 *
 * @author 张三
 * @since 2024-12-16
 */
@Service
public class WardServiceImpl extends ServiceImpl<WardMapper, Ward> implements IWardService {
    @Autowired
    private WardMapper wardMapper;
    @Override
    public List<Ward> getZhiliaoshiInWard() {
        return wardMapper.getZhiliaoshiInWard();
    }
}
